﻿#region

using System;
using System.ComponentModel;

#endregion

namespace SharpObservation.Tests.Dummy
{
    public class LifetimeDummy  : DisposableEventsObject
    {
        public event PropertyChangingEventHandler PropertyChanging;
        public event PropertyChangedEventHandler PropertyChanged;

        public void OnPropertyChanging(object sender, PropertyChangingEventArgs e)
        {
            if (PropertyChanging != null)
                PropertyChanging(sender, e);
        }

        public void OnPropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            if (PropertyChanged != null)
                PropertyChanged(sender, e);
        }
    }
}